import request from '@/utils/request'

// 分页查询预警模型管理列表
export function findListByPage (data) {
  return request({
    url: '/onm/event/base/warningModel/findListByPage',
    method: 'post',
    data
  })
}

//开启预警模型
export function openModel (data) {
  return request({
    url: '/onm/event/base/warningModel/openModel',
    method: 'post',
    data
  })
}

//关闭预警模型
export function closeModel (data) {
  return request({
    url: '/onm/event/base/warningModel/closeModel',
    method: 'post',
    data
  })
}
